package com.py.warehouse.service.impl;

import com.py.warehouse.domain.BsWarehouse;
import com.py.warehouse.mapper.BsWarehouseMapper;
import com.py.warehouse.mapper.SysDeptMapper;
import com.py.warehouse.service.IBsWarehouseService;
import com.py.warehouse.service.ISysDeptService;
import com.ruoyi.common.core.utils.DateUtils;
import com.ruoyi.system.api.domain.SysDept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 仓库列表Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-11-25
 */
@Service
public class SysDeptServiceImpl implements ISysDeptService
{
    @Autowired
    private SysDeptMapper sysDeptMapper;

    /**
     * 查询所有部门
     *
     * @param
     * @return 部门列表
     */
    @Override
    public List<SysDept> selectDept() {
        return sysDeptMapper.selectDept();
    }
}
